//
// Created by GYC on 2021/5/30.
//

#include "../../common.h"

class Solution {
public:
    bool isPowerOfTwo(int n) {
        return n > 0 && !(n & (n - 1));
    }
};

int main() {
    cout << Solution().isPowerOfTwo(0) << endl;
}